package com.cashmama.market.api.domain.enums;

/**
 * @program: cashmama-api
 * @description
 * @author: frank
 * @create: 2020-04-02 17:06
 **/
public enum PayTypeEnum {
    PAY(1, "pay"), EXTENSION(2, "extension");

    private Integer code;
    private String desc;

    PayTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public PayTypeEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public PayTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
